package com.pilipili.vod.service;

import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * @author Unlimited_Blade_Works
 */
public interface VodService {
    /**
     * 上传视频文件到云端
     * @param file
     * @return
     */
    String uploadVideo(MultipartFile file);

    /**
     * 递归：删除阿里云上的视频
     * @param videoIdList
     */
    void deleteVideos(List<String> videoIdList);

    void deleteVideo(String id);
}
